PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package
/
MemoryStream Class
/ readByte Method
Collapse All
Expand All
In This Topic
readByte Method
In This Topic
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
Syntax
public
int
readByte()
Return Value
The unsigned byte cast to an Int32, or -1 if at the end of the stream.
Exceptions
Exception
Description
com.o2sol.pdf4java.core.exceptions.PDFIOException
if the stream is closed.
See Also
Reference
MemoryStream Class
MemoryStream Members